#ifndef DEVICEEDIT_H
#define DEVICEEDIT_H

#include "Models/DeviceInformation.h"

#include <QWidget>

namespace Ui {
class DeviceEdit;
}

class DeviceEdit : public QWidget
{
    Q_OBJECT

public:
    explicit DeviceEdit(QWidget *parent = nullptr);
    ~DeviceEdit();

private slots:
    void on_pushButton_save_clicked();

    void on_pushButton_cancel_clicked();

private:
    Ui::DeviceEdit *ui;
    void deviceSelectInit();
    void bodyInit(DeviceInformation *info = nullptr);
};

#endif // DEVICEEDIT_H
